We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14570e9 commit b12e139Copy full SHA for b12e139
app/core/Encryptor/Encryptor.ts
@@ -78,7 +78,7 @@ class Encryptor implements WithKeyEncryptor<EncryptionKey, Json> {
78
* @param size - The number of bytes for the salt. Defaults to `constant.SALT_BYTES_COUNT`.
79
* @returns The base64-encoded salt string.
80
*/
81
- private generateSalt = (size = SALT_BYTES_COUNT) => {
+ generateSalt = (size = SALT_BYTES_COUNT) => {
82
const view = new Uint8Array(size);
83
// @ts-expect-error - globalThis is not recognized by TypeScript
84
global.crypto.getRandomValues(view);
0 commit comments