This commit is contained in:
@@ -23,7 +23,7 @@ const ONLINE_BACKUP_RETENTION_SECONDS = Object.freeze({
|
||||
'31d': 31 * 24 * 60 * 60,
|
||||
forever: null
|
||||
});
|
||||
const DEFAULT_ONLINE_BACKUP_RETENTION = '7d';
|
||||
const DEFAULT_ONLINE_BACKUP_RETENTION = 'forever';
|
||||
|
||||
function checksum(idBytes, masterKey) {
|
||||
return crypto.createHash('sha256').update(KEY_CONTEXT).update(idBytes).update(masterKey).digest().subarray(0, CHECKSUM_LENGTH);
|
||||
|
||||
Reference in New Issue
Block a user