Changed the decription key
This commit is contained in:
parent
70992c9a46
commit
e0f80d5fc8
@ -2,8 +2,8 @@ import CryptoJS from 'crypto-js';
|
|||||||
|
|
||||||
// The key from your C# Middleware
|
// The key from your C# Middleware
|
||||||
// In a real app, prefer storing this in process.env.REACT_APP_ENCRYPTION_KEY
|
// In a real app, prefer storing this in process.env.REACT_APP_ENCRYPTION_KEY
|
||||||
const KEY_BASE64 = "h9J4kL2mN5pQ8rS1tV3wX6yZ0aB7cD9eF1gH3jK5mN6=";
|
// const KEY_BASE64 = "h9J4kL2mN5pQ8rS1tV3wX6yZ0aB7cD9eF1gH3jK5mN6=";
|
||||||
|
const KEY_BASE64 = "u4J7p9Qx2hF5vYtLz8Kq3mN1sG0bRwXyZcD6eH8jFQw=";
|
||||||
/**
|
/**
|
||||||
* Decrypts the specific format sent by the C# EncryptionMiddleware.
|
* Decrypts the specific format sent by the C# EncryptionMiddleware.
|
||||||
* Format: Base64([IV (16 bytes)] + [Encrypted Data])
|
* Format: Base64([IV (16 bytes)] + [Encrypted Data])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user