com
.
metl
.
utils
Crypto
Related Doc:
package utils
class
Crypto
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
AESCBCCrypto
,
AESCTRCrypto
,
DESCBCCrypto
,
DESECBCrypto
,
RSACommutative
,
RSACommutative1
,
RSANormal
Ordering
Alphabetic
By inheritance
Inherited
Crypto
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Crypto
(
cipherName:
String
=
"AES"
,
cipherMode:
String
=
"CBC"
,
padding:
String
=
"ISO10126Padding"
,
inputKey:
Option
[
Array
[
Byte
]] =
None
,
inputIv:
Option
[
Array
[
Byte
]] =
None
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
cipher
:
String
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
cloneCrypto
:
Crypto
val
dcipher
:
Cipher
def
decryptCred
(
encryptedText:
Array
[
Byte
]
)
:
Array
[
Byte
]
def
decryptCred
(
encryptedText:
String
)
:
String
def
decryptToken
(
username:
String
,
encryptedText:
String
)
:
String
val
ecipher
:
Cipher
val
encoding
:
String
def
encryptCred
(
plainText:
Array
[
Byte
]
)
:
Array
[
Byte
]
def
encryptCred
(
plainText:
String
)
:
String
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getXmlKey
:
Node
def
getXmlKeyAndIv
:
Node
def
getXmlPrivateKey
:
Node
def
getXmlPublicKey
:
Node
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
var
iv
:
Option
[
AnyRef
]
var
key
:
Option
[
AnyRef
]
var
keyFactory
:
Option
[
AnyRef
]
var
keyGenerator
:
Option
[
AnyRef
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
privateKey
:
Option
[
Key
]
var
publicKey
:
Option
[
Key
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
Crypto
→ AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped