libraryDependencies += "commons-codec" % "commons-codec" % "1.9-SNAPSHOT"
val bytes = DigestUtils.sha256(message)
Throws compiler error:
value sha256 is not a member of object
org.apache.commons.codec.digest.DigestUtils
But when I go to look at the docs, it's clearly a static method returning a byte array.
When I use:
libraryDependencies += "commons-codec" % "commons-codec" % "1.6"
The same code works. What am I doing wrong?