S

SaltedKey

A simple repository to salt a secret key and verify its authenticity. Developed to be used in mobile applications while communicating with a server side using an Api. Instead of sending an apikey straight on the request, SaltedKey can generate a temporary public key, valid for one time use and during a specific time frame, default time is set to 60 seconds. This public key can be sent on request and on server side SaltedKey can verify its authenticity. The Salt is based on time millis and uses the algorithm SHA-256 to create the temporary public key. The public key base will change every time it exceeds the time frame. This library can increase the API security. Even if the public key used on request is exposed, no one will be able to use it again! As it is a one time use only.
https://github.com/rcastrucci/saltedkey
MIT License
Renne Castrucci
文件下载
文件名 操作
SaltedKey-1.2.0.jar 下载
SaltedKey-1.2.0.pom 下载
SaltedKey-1.2.0-sources.jar 下载
Apache Maven
<dependency>
  <groupId>com.rcastrucci.dev</groupId>
  <artifactId>SaltedKey</artifactId>
  <version>1.2.0</version>
</dependency>
Gradle Groovy
implementation 'com.rcastrucci.dev:SaltedKey:1.2.0'
Gradle Kotlin
implementation("com.rcastrucci.dev:SaltedKey:1.2.0")
Scala SBT
libraryDependencies += "com.rcastrucci.dev" % "SaltedKey" % "1.2.0"
Groovy Grape
@Grapes(
  @Grab(group='com.rcastrucci.dev', module='SaltedKey', version='1.2.0')
)
Apache Ivy
<dependency org="com.rcastrucci.dev" name="SaltedKey" rev="1.2.0" />
Leiningen
[com.rcastrucci.dev/SaltedKey "1.2.0"]
Apache Buildr
'com.rcastrucci.dev:SaltedKey:jar:1.2.0'
本项目依赖
该项目无第三方依赖