feat: 新增共享加密包并引入 ZIP/PGP 依赖
This commit is contained in:
6
packages/crypto/src/index.ts
Normal file
6
packages/crypto/src/index.ts
Normal 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'
|
||||
Reference in New Issue
Block a user