Socket
Book a DemoInstallSign in
Socket

@jedisct1/charm

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jedisct1/charm

Charm port to JavaScript

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

charm.js

A tiny, self-contained cryptography library, implementing authenticated encryption and keyed hashing.

Any number of hashing and authenticated encryption operations can be freely chained using a single rolling state. In this mode, each authentication tag authenticates the whole transcript since the beginning of the session.

The original implementation was written in C.

This is a port to JavaScript (TypeScript). It is fully compatible with the C and Zig versions.

Security guarantees

128-bit security, no practical limits on the size and length of messages.

Other implementations:

  • charm original implementation in C.
  • zig-charm an implementation of Charm in the Zig language.

Keywords

typescript

FAQs

Package last updated on 06 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts