Use base64url encoding for encrypted username
This commit is contained in:
parent
f77f9165e1
commit
09fc0d690b
4 changed files with 10 additions and 2 deletions
|
@ -26,6 +26,10 @@ export function toBase64(data: Uint8Array): string {
|
|||
return bytes.toBase64(data);
|
||||
}
|
||||
|
||||
export function toBase64url(data: Uint8Array): string {
|
||||
return bytes.toBase64url(data);
|
||||
}
|
||||
|
||||
export function toHex(data: Uint8Array): string {
|
||||
return bytes.toHex(data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue