0.0.3 • Published 1 year ago

@oasislabs/deoxysii v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago