Skip to content

Web app that can hash/hmac, encrypt/decrypt, and sign/verify the data, debug JWT tokens, parse ASN1 structures, compute diffs, and more

License

Notifications You must be signed in to change notification settings

TheBestTvarynka/crypto-helper

Repository files navigation

Stand With Ukraine

crypto-helper

deploy

Visit this tool at crypto.qkation.com.

Table of content:

The crypto-helper is a web app that helps to work with the different crypto algorithms. This app can hash/hmac, encrypt/decrypt, and sign/verify the data, debug JWT tokens, parse ASN1 structures, compute diffs, and more.

All computations are performed on the client side. This tool never sends the data to any server.

Features

  • Written in Rust 🦀 using yew
  • MD5
  • Argon2
  • BCRYPT
  • SHA1/SHA256/SHA384/SHA512
  • Kerberos ciphers: AES128-CTS-HMAC-SHA1-96/AES256-CTS-HMAC-SHA1-96
  • Kerberos HMAC: HMAC-SHA1-96-AES128/HMAC-SHA1-96-AES256
  • RSA
  • Compression: ZLIB
  • JWT debugger. Supported signature algorithms:
    • none
    • HS256
    • HS384
    • HS512
    • RS256
    • RS384
    • RS512
    • ES256
    • ES384
    • ES512
  • ASN1 Debugger
  • Diff checker

Read more about features and motivation here: https://tbt.qkation.com/projects/crypto-helper.

Development

  1. Install WebAssembly target: rustup target add wasm32-unknown-unknown.
  2. Install trunk. Additional guide.
  3. Set up APP_HOST environment variable:
# Windows
set APP_HOST=<url>
# Linux
export APP_HOST=<url>
# example:
# export APP_HOST=https://crypto-helper.qkation.com

This env variable is used for the url generation when you click the share by url button.

  1. Run trunk serve in your terminal.
  2. Go to http://127.0.0.1:8080 in your browser.

Meta

Pavlo Myroniuk - [email protected].

Distributed under the MIT license.

Contributing

Feel free to contribute.

  1. Fork it (https://github.com/TheBestTvarynka/crypto-helper/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request