mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-02 22:03:07 +00:00
* export crypto primitives * export crypto * update imports * fix size limit * rename crypto.js * move Signature type * fix path * fix: size-limit (#1734) * fix paths, revert change to config --------- Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
15 lines
239 B
TypeScript
15 lines
239 B
TypeScript
export const Symmetric = {
|
|
keySize: 32,
|
|
ivSize: 12,
|
|
tagSize: 16,
|
|
algorithm: { name: "AES-GCM", length: 128 }
|
|
};
|
|
|
|
export const Asymmetric = {
|
|
keySize: 32
|
|
};
|
|
|
|
export const OneMillion = BigInt(1_000_000);
|
|
|
|
export const Version = 1;
|