clojure access enum defined inside a java class

后端 未结 1 1776
一向
一向 2021-01-28 06:54

I am trying to use the argon-jvm library for hashing in my application.

By default this library uses Argon2i, However, I would like to use Argon2id

相关标签:
1条回答
  • 2021-01-28 07:38

    In a REPL, try:

    (import 'de.mkammerer.argon2.Argon2Factory$Argon2Types)
    

    That works for me.

    0 讨论(0)
提交回复
热议问题