Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Add SafeString solution
Browse files Browse the repository at this point in the history
  • Loading branch information
lanking520 committed Jun 18, 2018
1 parent 9503d8f commit e556dca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions scala-package/core/src/main/scala/org/apache/mxnet/FILEHASH
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
df4f46fcedfdc688cd12ddc35d558dd
9526a58d9bd1191ffd0825110947bf0
1ca78cb4a025d5923146f4ef612670
2d8188f4546b4c41482928a87902169
309G_O39xojNEt3DXVWNDQ
lSaljZvRGR_9AIJREJR78A
AcoHjLSgJdWSMUb072EmcA
LQgYj0VGtMQUgpKKh5AhaQ
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private[mxnet] object APIDocGenerator{
val md = MessageDigest.getInstance("MD5")
md.update(input.getBytes("UTF-8"))
val digest = md.digest()
digest.map(b => (b & 0xff).toHexString).mkString
org.apache.commons.codec.binary.Base64.encodeBase64URLSafeString(digest)
}

def absClassGen(FILE_PATH : String, isSymbol : Boolean) : String = {
Expand Down

0 comments on commit e556dca

Please sign in to comment.