vcapi-workers / Exports / utils/crypto
Module: utils/crypto
暗号化系のユーティリティ
Table of contents
Functions
Functions
encryptKey
▸ encryptKey(length): Promise<string>
暗号化鍵を生成する(共通鍵)
Parameters
| Name | Type |
|---|---|
length | 192 | 256 |
Returns
Promise<string>
Defined in
src/utils/crypto.ts:25 (opens in a new tab)
signKey
▸ signKey(): Promise<string>
署名鍵を生成する
Returns
Promise<string>