Apache Shiro 1.2.x Reference Manual 中文翻译的用户体验。 Cryptography (org.apache.shiro.crypto.*) Apache Shiro 1.2.x Reference Manual 中文翻译 21 3. Architecture 架构 Cryptography 在安全框架中是一个自然的附加产物,Shiro 的 crypto 包包含了易用且易懂的 加密方式,Hashes(即digests)和不同的编码 方式加密用户的密码,你可以加密用户输入的明文密码并保存加密 值: import org.apache.shiro.crypto.hash.Sha256Hash; import org.apache.shiro.crypto.RandomNumberGenerator; import org.apache.shiro.crypto.SecureRandomNumberGenerator; ... //我们将使用一个随机数发生器产生的盐。 或存储数据时,以及在数据容易被窥探的时候。 如果你曾经用过 JDK 的 Cryptography API,特别是javax.crypto.Cipher 类,你会知道它是一 头需要驯服的极其复杂的野兽。对于初学者,每个可能的加密配置总是由一个 javax.crypto.Cipher实例表示。必须进行公钥/私钥加密?你得用 Cipher。需要为流操作使用 块加密器(Block Cipher)?你得用0 码力 | 196 页 | 2.34 MB | 1 年前3
Apache Shiro参考手册中文版性能。任何现代开源和/或企业的缓存产品能够被插入到 Shiro 来提供一个快速及高效的用户体验。 Cryptography(org.apache.shiro.crypto.*) Cryptography 是对企业安全框架的一个很自然的补充。Shiro 的 crypto 包包含量易于使用和理解的 cryptographic Ciphers,Hasher(又名 digests)以及不同的编码器实现的代表。所有在这个包中的类都被精心地设计以易于 本密码并保持该值: import org.apache.shiro.crypto.hash.Sha256Hash; import org.apache.shiro.crypto.RandomNumberGenerator; import org.apache.shiro.crypto.SecureRandomNumberGenerator; … //We'll0 码力 | 92 页 | 1.16 MB | 1 年前3
跟我学Shiro - 张开涛DefaultPasswordService hashService=org.apache.shiro.crypto.hash.DefaultHashService passwordService.hashService=$hashService hashFormat=org.apache.shiro.crypto.hash.format.Shiro1CryptFormat passwordService passwordService.hashFormat=$hashFormat hashFormatFactory=org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory passwordService.hashFormatFactory=$hashFormatFactory passwordMatcher=org.apache.shiro.authc0 码力 | 219 页 | 4.16 MB | 10 月前3
Spring Boot 1.1.7.RELEASE Reference Guidespringframework.security spring-security-core 3.2.5.RELEASE org.springframework.security spring-security-crypto 3.2.5.RELEASE org.springframework.security spring-security-jwt 1.0.2.RELEASE org.springframework0 码力 | 323 页 | 302.48 KB | 1 年前3
Spring Boot 1.1.7.RELEASE Reference Guidespringframework.security spring-security-core 3.2.5.RELEASE org.springframework.security spring-security-crypto 3.2.5.RELEASE Spring Boot Reference Guide 1.1.7.RELEASE Spring Boot 183 Group ID Artifact ID Version0 码力 | 192 页 | 1017.81 KB | 1 年前3
Spring Boot 0.0.9.M1 Reference Guidespringframework.security spring-security-core 3.2.5.RELEASE org.springframework.security spring-security-crypto 3.2.5.RELEASE org.springframework.security spring-security-jwt 1.0.2.RELEASE org.springframework0 码力 | 323 页 | 301.58 KB | 1 年前3
Spring Boot 0.0.9.M1 Reference Guidespringframework.security spring-security-core 3.2.5.RELEASE org.springframework.security spring-security-crypto 3.2.5.RELEASE org.springframework.security spring-security-jwt 1.0.2.RELEASE org.springframework0 码力 | 188 页 | 1007.46 KB | 1 年前3
Spring Boot 0.0.x Reference Guidespringframework.security spring-security-core 3.2.5.RELEASE org.springframework.security spring-security-crypto 3.2.5.RELEASE org.springframework.security spring-security-jwt 1.0.2.RELEASE org.springframework0 码力 | 188 页 | 1008.51 KB | 1 年前3
Spring Boot 0.0.x Reference Guidespringframework.security spring-security-core 3.2.5.RELEASE org.springframework.security spring-security-crypto 3.2.5.RELEASE org.springframework.security spring-security-jwt 1.0.2.RELEASE org.springframework0 码力 | 322 页 | 301.63 KB | 1 年前3
Spring Boot 1.1.6.RELEASE Reference Guidespringframework.security spring-security-core 3.2.5.RELEASE org.springframework.security spring-security-crypto 3.2.5.RELEASE org.springframework.security spring-security-jwt 1.0.2.RELEASE org.springframework0 码力 | 321 页 | 300.93 KB | 1 年前3
共 254 条
- 1
- 2
- 3
- 4
- 5
- 6
- 26













