Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function encrypt(object, password: string): string {
const jsonObj = JSON.stringify(object);
return seedUtils.encryptSeed(jsonObj, password)
}
export function encrypt(object, password) {
const jsonObj = JSON.stringify(object);
return seedUtils.encryptSeed(jsonObj, password)
}