Skip to content

Commit

Permalink
updating jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
WingZer0o committed May 13, 2024
1 parent c0a292d commit 72a20e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
Binary file modified index.node
Binary file not shown.
13 changes: 1 addition & 12 deletions src-ts/symmetric/aes-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,7 @@ import {
aesNonce,
} from "../../index";

/**
* @description A wrapper class that contains methods to construct keys, nonces, and methods to encrypt and decrypt with AES-128-GCM and AES-256-GCM
*
* @example
* ```ts
* const nonce = aesWrapper.generateAESNonce();
const key = aesWrapper.aes128Key();
const textEncoder = new TextEncoder();
const array = Array.from(textEncoder.encode("Hello World"));
const encrypted = aesWrapper.aes128Encrypt(key, nonce, array);
* ```
*/

export class AESWrapper {

/**
Expand Down

0 comments on commit 72a20e2

Please sign in to comment.