This package has been deprecated

Author message:

WARNING: This project has been renamed to @oasisprotocol/deoxysii. Install using @oasisprotocol/deoxysii instead.

@oasislabs/deoxysii
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

deoxysii.js - JavaScript Deoxys-II-256-128

GitHub CI

When I find my code in tons of trouble, Friends and colleagues come to me, Speaking words of wisdom: "Write in C."

This package provides a pure-JavaScript implementation of the Deoxys-II-256-128 v1.43 algorithm from the final CAESAR portfolio.

Implementations

  • (ct32) Bitsliced implementation.

  • (vartime) Variable time implementation with a table driven AES round function.

Notes

It is unclear what the various JavaScript implementations will do to the ct32 code or the underlying bitsliced AES round function, and it is quite possible that it may be vulnerable to side channels.

Performance for both implementation are utterly abysimal, however vartime is approximately twice the speed of ct32.

Users that require a more performant implementation are suggested to investigate WebAssembly, or (even better) calling native code.

Readme

Keywords

none

Package Sidebar

Install

npm i @oasislabs/deoxysii

Weekly Downloads

3

Version

0.0.3

License

MIT

Unpacked Size

99.7 kB

Total Files

16

Last publish

Collaborators

  • cdavm
  • jameszheng
  • peterjgilbert
  • lukaw3d
  • oasis_parcel_npm_bot
  • mitjat
  • andrew7234
  • aefhm
  • matevz.jekovec
  • vishwa-raman
  • gw0
  • pro-wh