Skip to content

Commit

Permalink
change readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jihyunlab-phil committed Dec 28, 2023
1 parent f30b04a commit f29e306
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 20 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ npm i @jihyunlab/crypto

## Hash

### Usage

You can generate hashes using any of the predefined hash algorithm types.

```javascript
Expand Down Expand Up @@ -55,8 +53,6 @@ Hash.create('sha256').update('string').digest('base64url');

## HMAC

### Usage

You can generate HMAC using predefined HMAC algorithm types.

```javascript
Expand All @@ -70,8 +66,6 @@ const buffer = Hmac.create(HMAC.SHA256, Buffer.from('key')).update(Buffer.from('

Symmetric-key algorithm is an encryption technique that uses the same key for encryption and decryption.

### Usage

Encryption functions can be implemented using predefined symmetric-key algorithm types and separately provided functions.

```javascript
Expand Down Expand Up @@ -128,8 +122,6 @@ const decrypted = Cipher.create('sm4-cbc', key).decrypt.string(encrypted, iv, 'b

AEAD(Authenticated Encryption with Associated Data) is an encryption technology that provides integrity through MAC calculation during encryption.

### Usage

Encryption functions can be implemented using predefined encryption algorithm types and separately provided functions.

```javascript
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jihyunlab/crypto",
"version": "1.0.7",
"version": "1.0.8",
"description": "JihyunLab Crypto.",
"license": "MIT",
"author": "JihyunLab <info@jihyunlab.com> (https://jihyunlab.com)",
Expand Down

0 comments on commit f29e306

Please sign in to comment.