Use base64url encoding for encrypted username

This commit is contained in:
Brendan Fattig 2024-03-14 13:53:12 -05:00
parent f77f9165e1
commit 09fc0d690b
4 changed files with 10 additions and 2 deletions

View file

@ -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);
}