Package-level declarations

Types

Link copied to clipboard
@Singleton
class CryptoJacksonModule : SimpleModule
Link copied to clipboard
object CryptoModule : AbstractModule
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object Rsa
Link copied to clipboard
interface StreamCipher
Link copied to clipboard
class Whirlpool
Link copied to clipboard
data class XteaKey(val k0: Int, val k1: Int, val k2: Int, val k3: Int)
Link copied to clipboard
object XteaKeyDeserializer : StdDeserializer<XteaKey>
Link copied to clipboard
object XteaKeySerializer : StdSerializer<XteaKey>

Functions

Link copied to clipboard
fun ByteBuf.rsa(key: RSAKeyParameters): ByteBuf
Link copied to clipboard
fun RSAPrivateCrtKeyParameters.toKeySpec(): KeySpec
Link copied to clipboard
fun ByteBuf.whirlpool(): ByteArray
fun ByteBuf.whirlpool(index: Int, len: Int): ByteArray
Link copied to clipboard
fun ByteBuf.xteaDecrypt(index: Int, length: Int, key: XteaKey)
Link copied to clipboard
fun ByteBuf.xteaEncrypt(index: Int, length: Int, key: XteaKey)

Properties

Link copied to clipboard
val RSAPrivateCrtKeyParameters.publicKey: RSAKeyParameters
Link copied to clipboard
Link copied to clipboard
const val XTEA_BLOCK_SIZE: Int = 8