Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SecOptions

Interface for the options provided to the sec function.

type

SecOptions

Hierarchy

  • SecOptions

Index

Properties

Properties

act

act: "encrypt" | "decrypt" | "keygen"

params

params: object

Type declaration

  • algorithm: "AES" | "RSA"
  • Optional ciphertext?: string
  • Optional iv?: string
  • Optional key?: string
  • Optional keysize?: 128 | 256 | 1024 | 2048
  • Optional plaintext?: string

Generated using TypeDoc