Update mediaName derivation to hex encoding
This commit is contained in:
parent
5173b3d01a
commit
0433264eed
5 changed files with 44 additions and 24 deletions
|
@ -271,7 +271,7 @@ export function deriveMediaIdFromMediaName(
|
|||
BACKUP_MEDIA_ID_LEN,
|
||||
Buffer.from(backupKey),
|
||||
Buffer.from(BACKUP_MEDIA_ID_INFO),
|
||||
Buffer.from(Bytes.fromBase64(mediaName))
|
||||
Buffer.from(mediaName, 'utf8')
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue