Skip to content

fix(server): use privacyKit.encodeBase64 in randomKey utilities - #1704

Open
im47cn wants to merge 1 commit into
slopus:mainfrom
im47cn:fix/randomkey-privacykit
Open

fix(server): use privacyKit.encodeBase64 in randomKey utilities#1704
im47cn wants to merge 1 commit into
slopus:mainfrom
im47cn:fix/randomkey-privacykit

Conversation

@im47cn

@im47cn im47cn commented Aug 16, 2026

Copy link
Copy Markdown

Replaces Buffer.toString('base64') with privacyKit.encodeBase64 in randomKey.ts and randomKeyNaked.ts, matching the repository convention for base64 handling.

Output format verified unchanged at runtime (same alphabet filter, same length semantics).

Per repository convention (privacyKit over Buffer for base64), replace Buffer.toString('base64') with privacyKit.encodeBase64 in randomKey and randomKeyNaked. Output format verified unchanged at runtime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant