Scala Signature HMAC-SHA1?

I was wondering if there is a way to get the HMAC-SHA1 signature in scala without having to compile the java class with the code that everyone uses in java . Any ideas?

+3
source share
2 answers

Not sure what you are trying to do, but here http://technically.us/code/x/oauth-here-she-comes you can find an example of how to do HMAC-SHA1 (for OAuth) in Scala

+3
source

If you want to avoid using Java source files in your Scala project, just translate the Java code into Scala. This should be a very simple task.

+1
source

Source: https://habr.com/ru/post/1711318/


All Articles