Popularity
2.6
Growing
Activity
0.0
Stable
8
4
2
Monthly Downloads: 12
Programming language: Elixir
License: MIT License
Tags:
Cryptography
Latest version: v0.0.1
aescmac alternatives and similar packages
Based on the "Cryptography" category.
Alternatively, view aescmac alternatives based on common mentions on social networks and blogs.
-
comeonin
Password hashing specification for the Elixir programming language -
nimble_totp
A tiny Elixir library for time-based one time passwords (TOTP) -
pot
POT is an Erlang library for generating Google Authenticator compatible one time passwords -
one_time_pass_ecto
No longer maintained - One-time password library with Ecto support (for Elixir) -
siphash-elixir
An Elixir implementation of the SipHash cryptographic hash family -
ntru_elixir
Elixir wrapper around libntru. NTRU is a post quantum cryptography algorithm. -
crypto_rsassa_pss
RSASSA-PSS Public Key Cryptographic Signature Algorithm for Erlang and Elixir. -
ex_bcrypt
Elixir wrapper for the OpenBSD bcrypt password hashing algorithm
Elixir and Phoenix Application Security Platform
Replace Snyk, reCaptcha, and Cloudflare bot defense with the only application security platform built for Elixir and Phoenix.
Promo
paraxial.io
Do you think we are missing an alternative of aescmac or a related project?
Popular Comparisons
README
Hint for users of OTP >= 20
Since OTP 20 the AES-CMAC is in :crypto
You can simply use for example:
:crypto.cmac :"aes_cbc128", <<0x2b7e1516_28aed2a6_abf71588_09cf4f3c::128>>,<<0x6bc1bee2_2e409f96_e93d7e11_7393172a_ae2d8a57_1e03ac9c_9eb76fac_45af8e51_30c81c46_a35ce411::320>>
See in Erlang sources
Aescmac
Implementation of rfc4493 in elixir using :crypto from erlang for aes.
All tests from rfc4493 passing.
Aescmac.aes_cmac takes two binaries, the key and the message, where the key has to be 128bit
Usage example:
# Aescmac.aes_cmac(key, message)
<<0x070a16b4_6b4d4144_f79bdd9d_d04a287c::128>> = Aescmac.aes_cmac(<<0x2b7e1516_28aed2a6_abf71588_09cf4f3c::128>>,<<0x6bc1bee2_2e409f96_e93d7e11_7393172a::128>>)
Documentation
Docs can be found at hexdocs.pm.
Installation
Available in Hex, the package can be installed with:
- Add aescmac to your list of dependencies in
mix.exs
:
def deps do
[{:aescmac, "~> 0.0.1"}]
end
- Ensure aescmac is started before your application:
def application do
[applications: [:aescmac]]
end