com.jsuereth.pgp.hkp.package.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pgp-library_3 Show documentation
Show all versions of pgp-library_3 Show documentation
sbt-pgp provides PGP signing for sbt
The newest version!
package com.jsuereth.pgp
package object hkp {
// TODO - Convert to an integer first if the Long doesn't use its upper bigs.
def idToString(l: Long) = "%x" format l
// TODO - Is this correct?
def stringToId(s: String): Long = java.lang.Long.parseLong(s, 16)
}