HASHLIB CE Cryptography Library
  1. All files
  2. TI-84 Plus CE Programs
  3. TI-84 Plus CE Assembly Programs
  4. TI-84 Plus CE Assembly Math Programs

Description

This is a LibLoad-compatible library that contains algorithms for computing several types of hashes for files or arbitrary data segments.

Included Cryptographic Implementations:
<> SHA-1 and SHA-256.
<> Secure PRNG derived from reading bus noise into an entropy pool, passing the pool through an SHA-256, and then XORing the digest in 32-bit blocks. Evaluated entropy ~100 bits per 32 bit rand.
<> AES, CBC mode symmetric block cipher, with support for 128, 192, or 256-bit keys (replaces Blowfish in this version).
<> Base64 Encode and Decode
<> EraseContext function that can be used to erase contexts used by the various algorithms.
<> Padding helper function that can apply one of the following padding modes for AES: PKCS7, ISO Method 1, ISO Method 2, ANSIX923, or OAEP for RSA (RSA not yet implemented).

See the enclosed C header file for more details.
Credit to: beckadamtheinventor for some assembly magic deal with a pseudo uint64_t.
Credit to: commandblockguy for help making this LibLoad compatible.

Archive Contents

Name Size
Hashlib Documentation.pdf 209.9 KB
LICENSE 1.0 KB
README.md 2.3 KB
hashlib.8xv 26.4 KB
hashlib.8xv.bin 21.9 KB
hashlib.asm 139.2 KB
hashlib.h 10.5 KB
hashlib.lib 577 bytes
makefile 1.1 KB
Download file
File Size
253.0 KB

Metadata

Author
ACagliano
Uploaded
2 years, 9 months ago

Statistics

Rating
No ratings.
Downloads
952
↳ this version
192
Views
5139
↳ this version
1128

Reviews

Nobody has reviewed this file yet.

Versions

  1. HASHLIB CE Cryptography Library (published 2 years, 2 months ago; 2022-02-05 00:02 UTC)
  2. HASHLIB CE Cryptography Library (published 2 years, 2 months ago; 2022-02-03 05:18 UTC)
  3. HASHLIB CE Cryptography Library (published 2 years, 5 months ago; 2021-10-29 14:12 UTC)
  4. HASHLIB CE Cryptography Library (published 2 years, 9 months ago; 2021-06-27 06:09 UTC)
  5. HASHLIB CE Cryptography Library (published 2 years, 10 months ago; 2021-05-28 21:44 UTC)
  6. HASHLIB CE Cryptography Library (published 3 years, 2 months ago; 2021-02-22 06:53 UTC)

Advertisement