-
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 #28
Conversation
src/jest/testing-functions.ts
Outdated
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 High test
src/jest/testing-functions.ts
Outdated
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 / SonarCloud
Encryption algorithms should be used with secure mode and padding scheme High test
|
|
No description provided.