We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
When I generate key I see error : "Invalid key length"
I do for exemple :
export const MyEncryptionTransformerConfig = { key: Buffer.from(env.app.crypto.key, 'utf8').toString('base64'), algorithm: env.app.crypto.algorithm, ivLength: 16, };
In env I add : env.app.crypto.key = nCM*R$izc*G3vqg7jo086mbc9Rg^7NYl
env.app.crypto.key = nCM*R$izc*G3vqg7jo086mbc9Rg^7NYl
Thanks
The text was updated successfully, but these errors were encountered:
Helllo,
Ok I see thant must generate key like :
const Crypto = require('crypto'); return Crypto.randomBytes(32) .toString('hex') ;
Sorry, something went wrong.
@Paul75 there are a lot of ways to generate keys...
Perhaps we should add this to the README.
No branches or pull requests
Hello,
When I generate key I see error : "Invalid key length"
I do for exemple :
In env I add :
env.app.crypto.key = nCM*R$izc*G3vqg7jo086mbc9Rg^7NYl
Thanks
The text was updated successfully, but these errors were encountered: