ExLogto.Generator (ex_logto v0.1.3)

some random number, base64 encoding helper functions

  • deprecated :crypto.randuniform - replaced with :rand.uniform - needed to do some recursion.. #for <- 1..64, into: "", do: <<Enum.at(symbols, :crypto.rand_uniform(0, symbol_count))>>

Summary

Functions

generate the code challenge

generate the "state" for the session

Functions

Link to this function

generate_code_challenge(code_verifier)

generate the code challenge

Link to this function

generate_code_verifier()

Link to this function

generate_state()

generate the "state" for the session