VCAPI Logo公式HP ↗公式HP ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Home
  • ER
    • Modules
      • Controllers Login
      • Controllers Openai
      • Index
      • Lambda
      • Lib Env
      • Lib Getdb
      • Middleware Guard
      • Middleware Remapping
      • Middleware Session
      • Models Gimmick
      • Models Login
      • Models Openai Chat
      • Models Session
      • Types
      • Utils
      • Utils Crypto
      • Utils Encode
      • Utils Error
      • Utils HTTP Status
      • Utils Image
      • Utils Memo
      • Utils Params
    • Readme
      • Types.variables
  • Home
  • ER
    • Modules
      • Controllers Login
      • Controllers Openai
      • Index
      • Lambda
      • Lib Env
      • Lib Getdb
      • Middleware Guard
      • Middleware Remapping
      • Middleware Session
      • Models Gimmick
      • Models Login
      • Models Openai Chat
      • Models Session
      • Types
      • Utils
      • Utils Crypto
        • Table of contents
        • Functions
      • Utils Encode
      • Utils Error
      • Utils HTTP Status
      • Utils Image
      • Utils Memo
      • Utils Params
    • Readme
      • Types.variables
  • 公式HP ↗ (opens in a new tab)

On This Page

  • Table of contents
  • Functions
  • Functions
  • encryptKey
  • Parameters
  • Returns
  • Defined in
  • signKey
  • Returns
  • Defined in
Question? Give us feedback → (opens in a new tab)Edit this page
TypeDoc
Modules
Utils Crypto

vcapi-workers / Exports / utils/crypto

Module: utils/crypto

暗号化系のユーティリティ

Table of contents

Functions

  • encryptKey
  • signKey

Functions

encryptKey

▸ encryptKey(length): Promise<string>

暗号化鍵を生成する(共通鍵)

Parameters

NameType
length192 | 256

Returns

Promise<string>

Defined in

src/utils/crypto.ts:25 (opens in a new tab)


signKey

▸ signKey(): Promise<string>

署名鍵を生成する

Returns

Promise<string>

Defined in

src/utils/crypto.ts:8 (opens in a new tab)

UtilsUtils Encode

© 2023 VRC-Connections-API-Project