feat: 新增共享加密包并引入 ZIP/PGP 依赖

This commit is contained in:
2026-03-05 16:23:13 +08:00
parent 9d8a38a4c4
commit d2eb98d612
12 changed files with 300 additions and 12 deletions

View File

@@ -0,0 +1,6 @@
export { aesGcmDecrypt, aesGcmEncrypt } from './aes-gcm'
export { sha256, sha256Hex } from './hash'
export { hkdfSha256 } from './hkdf'
export { hmacSha256, hmacSha256Base64 } from './hmac'
export { generatePgpKeyPair, pgpSignDetached, pgpVerifyDetached } from './pgp'
export { rsaOaepEncrypt } from './rsa-oaep'