-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
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
Update testing-functions.ts #29
Conversation
src/jest/testing-context.tsx
Outdated
const encryption_key = "byz9VFNtbRQM0yBODcCb1lrUtVVH3D3x"; // Must be 32 characters | ||
const initialization_vector = "X05IGQ5qdBnIqAWD"; // Must be 16 characters | ||
function encrypt(text){ | ||
const cipher = createCipheriv('aes-256-cbc',Buffer.from(encryption_key), Buffer.from(initialization_vector)) |
Check failure
Code scanning / SonarCloudsquad-2
Encryption algorithms should be used with secure mode and padding scheme
Kudos, SonarCloud Quality Gate passed! |
|
|
|
No description provided.