切换
21文档网
类库大全
IT社区
开源文档
示例代码
速查表
在线工具
高级主题
安全
安全
AES
AES decrypt String
AES encrypt String
decode byte array with AES/CBC/NoPadding
AES decrypt String with password
AES encrypt String with key
generate AES Key
generate AES Key SecretKey
get AES Key from password
Generate AES random Key
AES decrypt byte array and return byte array
AES encrypt byte array and return byte array
create AES Key from password
AES decrypt with cipher mode AES/ECB/NoPadding
AES encrypt byte array content with AES/ECB/NoPadding model
AES decrypt byte array Data with password
AES encrypt Data with password
AES decrypt string by seed string
AES encrypt String with seed String
get AES Raw Key
AES decrypt byte array by byte array key
证书
Creating a New Key Pair and Self-Signed Certificate Using keytool
Disabling Certificate Validation in an HTTPS Connection
Getting the Subject and Issuer Distinguished Names of an X509 Certificate
Adding a Certificate to a Key Store
Retrieving a Certificate from a Key Store
Listing the Most-Trusted Certificate Authorities (CA) in a Key Store
Listing All Available Certificate Formats
Importing a Certificate from a File
Exporting a Certificate to a File
Converting Between javax and java X509Certificates
Listing All Available Certification Path Validation Algorithms
Creating a Certification Path
Validating a Certification Path
create Certificate Factory
parse a certificate file into ArrayList of certificates
populate X509Certificate from a certificate file at the certificate File Path
Checks whether given X.509 certificate is self-signed.
trust All Certificate
build Chain For X509Certificate
get Certificate Issuer
get Principals from Certificate
Verifies that a certificate chain is valid
accept Untrusted Certificate
get Certificate from file
validate File Sign Certificate
verify Certificate
get Test Certificate
Obtains the list of default root certificates installed in the JRE.
Validate a certificate chain.
get Certificate
get Serial Number from X509Certificate
load X509 certificate
validate X509 certificate
disable Certificate Validation
verify data by Certificate
load Certificate from file
get X509Certificate Issuer
get X509Certificate Owner
accept All Certificate
CRC
Generate CRC32 Checksum For Byte Array
Extract File With CRC32 Checksum
String to CRC
create Crc Hex
Compute a checksum for the file or directory that consists of the name, length and the last modified
CRC of byte array
Compute the CRC32 of the byte array
A function that returns a 64-bit crc for string
Calculated the checksum of the given data array as a long value.
Calculates a CRC-32 checksum for the given bytes.
calculate Crc16
Port CRC implementation
crc32 a File
calculate InputStream Checksum
Convert String to CRC32
解密加密字符串
decrypt/encrypt String and return a String
decode ECB From Source
Invokes the Cipher to perform encryption or decryption (depending on the initialized mode).
returns a String with the right length for encryption.
Get Crypto Provider
aes cipher class. CBC mode with PKCS#1 v1.5 padding.
DES
Converting a 56-bit Value to a DES Key
Encrypting with DES Using a Pass Phrase
Encrypting a String with DES
Encrypting an Object with DES
Encrypting a File or Stream with DES
des Decode CBC
des Encode CBC
des Encode ECB
des3 Decode ECB
DES encrypt ECB Source
des3 Decrypt byte array data with string key and charset setting
des3 Encrypt plain text with key and charset, return byte array
encode ECB Bytes
decrypt DES
encrypt DES
get DES Value
Use JDK 3DES
Use JDK DES
Compare JDK DES and bouncy castle DES
AsymmetricCipherKeypair includes both private and public keys, but AsymmetricKeyPair includes only public
DSA
DSA signature Generate
DSA signature Verify
Calculates the given file's SHA-1 hash code.
Transform a BigInteger DSA private key into a DSAPrivateKey object
Transform a BigInteger RSA private key into a RSAPrivateKey object
Transform a BigInteger DSA public key into a DSAPublicKey object
Transform a BigInteger RSA public key into a RSAPublicKey object
Use jdk ECDSA
Using JDK DSA
Use bouncy castle SHA256 with ECDSA
Generate DSA SHA1PRNG signature
哈希
Attempt to generate a secure hash using the passed object as part of a seed, along with a timestamp.
HMAC
encrypt HMAC
init HmacMD5 Key
Compare JDK HmacMD5 and bouncy castle HmacMD5
关键
Generating a Symmetric Key
Generating a Secret Key Using the Diffie-Hellman Key Agreement Algorithm
Generating a Message Authentication Code (MAC) Key
Listing the Aliases in a Key Store
Retrieving a Key Pair from a Key Store
Getting the Bytes of a Generated Symmetric Key
Listing All Available Symmetric Key Generators
Listing All Available Message Authentication Code (MAC) Key Generators
Generating a Parameter Set for the Diffie-Hellman Key Agreement Algorithm
Converting a KeyStroke to a String
Creating a KeyStroke and Binding It to an Action
create Key Factory by algorithm
Decrypts a string using the passed key.
Encrypts a string using the passed key.
decrypt By Private Key
decrypt By Public Key
decrypt File By Public Key
encrypt By Private Key
encrypt By Public Key
encrypt File By Private Key
encrypt File To Base By Private Key
get Key Store
get Private Key from file
get Public Key from file
sign data by key
sign File by key
Gets an RSAPublicKey from the provided PEM encoding.
get KeyStore from file and password
get Private Key from key store path and password
get Public Key from path
According publickey algorithm to do encode for data.
Get the publickey from given cert file, the certificate Path stands for cert file, should under src source folder.
trust Manager For Key Store
load KeyStore from File
sign password by key
Build secret key.
Given the name of a TLS/SSL cipher suite, return an int representing it effective stream cipher key strength.
Generates a random secret key.
generates a key pair (private key, public key).
takes bytes of PrivateKey saved in database and converts back to PrivateKey.
Decrypt a byte array given the same secret key spec used to encrypt the message
Encrypt a byte array given the secret key spec
create PBE Key
create DHParameterSpec
encode ECB As Hex String
encode ECB As Base String
Returns whether the Diffie-Hellman public key is valid or not.
Returns the key size of the given key object in bits.
from PKCS8 to RSAPrivateKey
load Key Store
load Keystore
This creates and initializes an SSLContext, using the keystore and trust store from the given streams.
Creates ssl context based on keystore file
print Private Key Info
print Public Key Info
bouncy castle Cipher IDEA
Generate key from bouncy castle for ECDH
Use jdk PBE
Keygen for JIRA Enterprise Edition
登录
Handling the Callbacks from a Login Module
Listing the Login Modules of an Entry in the Current Login Configuration
Mac
Generating a Message Authentication Code (MAC)
Encode the plain text to given type of HMAC (Hash-based Message Authentication Code) string.
MD5
Creating a Keyed Digest Using MD5
Get MD5 string out of a string
Compute the md5 hash of a InputStream.
Compute the md5 hash of a byte array.
Compute the md5 hash of a InputStream. In case of errors, returns an empty string.
Compute the md5 hash of a String.
Compute the md5 hash of a File.
encode string to Lowercase Md5
encode String to Uppercase Md5
get MD5 byte array from String
hash Password using MD5
Returns the MD5 of the specified bytes
get File MD5
encrypt String with MD5
md5 byte array
MD5 String
MD5 String Hash
Returns the MD5 value of the specified text
get md5 checksum of an byte array
generate MD5 Checksum File
Retrieves the md5 sum of a file.
密码
account Id Masking by ****
user Password Hash
Create the MD5 digest of a password.
create Password Hash
hash Password
generate Password
get Encrypted Password
Simple method to replace characters in a String with Stars to mask the password.
make Password
Returns a salted PBKDF2 hash of the password.
Validates a password using a hash.
check password
hash And Salt Password
generate Strong Password
encrypt Password Sha256
Returns encrypted password for a given clear text password using SHA-256
许可
permitted security auth Subject
Method to test whether a given user has permission to execute the given method.
Get resource as stream in privileged mode.
Get resource in privileged mode.
提供者
Listing All Available Encryption and Decryption Algorithms
Listing All Available Cryptographic Services
Listing All Available Message Digest Algorithms
Listing All Available Secure Random Number Generators
RSA
RSA decrypt
RSA encrypt
get RSA Private Key
get RSA Public Key
Encrypt the data with RSA private key.
Encrypt the data with the RSA public key.
Generate a RSA key pair with public key and private key.
generate RSA Public Key
gen RSA Key Pair And Save To File
gen RSA Key Pair
Use the RSA public Key to decrypt the data.
Use RSA to decrypt the data.
Use the RSA private Key to decrypt the data.
parse RSA Private Key
get RSA Public Key By Specification
Use the RSA public Key to encrypt the data.
Use RSA to encrypt the data.
decrypt By RSA Private Key
decrypt By RSA Public Key
encrypt By RSA Private Key
encrypt By RSA Public Key
generate RSA Private Key
Decrypt text using RSA private key.
Encrypt the plain text using RSA public key.
Generate key which contains a pair of RSA private and public key using 1024 bytes.
Basic RSA decrypt method
RSA Encrypt String.
RSA decrypt Data
decrypt String by RSA
check RSA Sign
bytes To RSA Private Key
bytes To RSA Public Key
generate RSA Key Pair
get RSA Decrypt Cipher
get RSA Encrypt Cipher
decrypt Data with RSA private key
Using JDK RSA
Use RSA from bouncy castle
rsa encrypt and signer SHA1 with PKCS#1 v1.5 padding
RSA-SHA1 signature class with PKCS#1 v1.5 padding.
SHA
hash Name to long value via SHA
make SHA Hash
get SHA1 hash for File
Returns the SHA-1 of the specified string
core sha1 for int array
get Hmac SHA Hash
hex sha1 String
string sha1 Hash
sha256 Digest String
encode byte array Hmac SHA
Calculates the SHA-1 digest and returns the value as a hex string.
generate SHA-512 Salt
SHA-512 hash
generate HmacSHA1 Mac Signature
generate SHA Checksum File
Retrieves the SHA-1 sum of a file.
compute Hmac
Convenience method to generate the HMAC-SHA1 signatures we are using in this application.
General hmac method - can pass in any string recognized by Mac.getInstance .
Generates the HMAC of a given message, using a given key.
Calculates the SHA256 hash of the string.
Computes a HMAC-SHA1 message digest of a given message, appends it to the message, returns the output.
Extracts a HMAC-SHA1 message digest form the end of the given message and determines whether it is valid.
get Sha Digest As String
Calculates a SHA1 digest for a string.
to SHA-1
create SHA1 Sign
This function calculates the SHA1 value of a given string
sha Encode
sha1 digest operation class.
Create SHA 256 Digest
bouncycastle SHA
文件签名
sign File To Base64
sign File To Base64 With Encrypt
verify Base64 Sign
verify Base64 Sign With Decrypt
verify File Sign
verify File Sign With Decrypt
verify Sign
流
Creates a decryption stream.
Creates a encryption stream.
信任管理
crypt with SunJCE provider
get Test PEM
Loads the system default X509TrustManager .
system Trust Manager
load X509TrustManager
create Trust Managers
set Trust All Certs
create Default Trust Manager
create Trust Manager From