export const hashAlgos

This commit is contained in:
turnoffthiscomputer
2025-01-05 16:47:55 +01:00
parent fd94b5b3c0
commit 6b351ab9db

View File

@@ -40,7 +40,7 @@ export const DEFAULT_MAJORITY = '18';
// rsa_sha256_65537_3072: 384,
// rsa_sha256_3_2048: 384,
// };
const hashAlgos = ['sha1', 'sha256', 'sha384', 'sha512'];
export const hashAlgos = ['sha1', 'sha256', 'sha384', 'sha512'];
export const MAX_PADDED_ECONTENT_LEN: Partial<
Record<typeof hashAlgos[number], number>
> = {