Module renderer/utils/crypto
Functions
decrypt
- decrypt(content: any, password: string): { content: string; passwordHash: string }
Parameters
content: any
password: string
Returns { content: string; passwordHash: string }
content: string
passwordHash: string
encrypt
- encrypt(content: any, password: string): { content: string; passwordHash: string }
Parameters
content: any
password: string
Returns { content: string; passwordHash: string }
content: string
passwordHash: string