secure_random alternatives and similar packages
Based on the "Text and Numbers" category.
Alternatively, view secure_random alternatives based on common mentions on social networks and blogs.
-
money
Elixir library for working with Money safer, easier, and fun... Is an interpretation of the Fowler's Money pattern in fun.prog. -
nanoid
Elixir port of NanoID, a secure and URL-friendly unique ID generator. https://hex.pm/packages/nanoid -
exmoji
:sunglasses: Emoji encoding swiss army knife for Elixir/Erlang -
chinese_translation
An elixir module to translate simplified Chinese to traditional Chinese, and vice versa, based on wikipedia data -
abacus
Parses and evaluates mathematical expressions in Elixir. Inspired by math.js -
veritaserum
Sentiment analysis based on afinn-165, emojis and some enhancements. -
inet_cidr
CIDR library for Elixir that is compatible with Erlang's :inet and supports both IPv4 and IPv6 -
haikunator
Generate Heroku-like memorable random names to use in your apps or anywhere else. -
Ex_Cldr_Units
Unit formatting (volume, area, length, ...) functions for the Common Locale Data Repository (CLDR) -
expr
An Elixir library for parsing and evaluating mathematical expressions -
custom_base
Allow you to make custom base conversion in Elixir. -
mt940
MT940 (standard structured SWIFT Customer Statement message) parser for Elixir. -
convertat
An Elixir library for converting from and to arbitrary bases.
Collect and Analyze Billions of Data Points in Real Time
Do you think we are missing an alternative of secure_random or a related project?
README
SecureRandom.ex ![[travis]](https://travis-ci.org/patricksrobertson/secure_random.ex.png)
SecureRandom is an elixir module loosely based on Ruby's SecureRandom. I needed urlsafe, random, base64 strings and UUID generation, so I ported over what I needed :).
This gets its random from Erlang's strong_rand_bytes/1
and is strongly based
from this gist. I had to remove some
things that didn't make it to Elixir 1.0, and cut the stuff that I do not
currently have use for.
Will accept PR's to flesh out further.
INSTALL
Add this to your mix.exs:
defp deps do
[{:secure_random, "~> 0.5"}]
end
Fetch this motherlover:
mix deps.get
USAGE
UUID:
SecureRandom.uuid # => "e8bc6fde-3c11-cc2e-903b-745221154d8a"
base64 string:
SecureRandom.base64(8) # => "VsifwaD2HCk="
urlsafe_base64 string:
SecureRandom.urlsafe_base64 #=> "WAut546EWdXM3O_9sJGvmQ"
AUTHOR
Brought to you by Adequate Kitchen which is a vague way saying Patrick Robertson.
LICENSE
Apache 2.0
*Note that all licence references and agreements mentioned in the secure_random README section above
are relevant to that project's source code only.