diff --git a/lib/argon2.ex b/lib/argon2.ex index ec42696..3e1d90f 100644 --- a/lib/argon2.ex +++ b/lib/argon2.ex @@ -40,7 +40,9 @@ defmodule Argon2 do to withstand parallel attacks that use GPUs or other dedicated hardware. """ - use Comeonin + if Code.loaded?(Comeonin) do + use Comeonin + end alias Argon2.Base