oss-keygen

Keygen

License

License

Categories

Categories

KeY Data Data Formats Formal Verification
GroupId

GroupId

cn.home1
ArtifactId

ArtifactId

oss-keygen
Last Version

Last Version

1.0.6.OSS
Release Date

Release Date

Type

Type

jar
Description

Description

oss-keygen
Keygen
Project URL

Project URL

https://github.com/home1-oss/oss-keygen
Source Code Management

Source Code Management

https://github.com/home1-oss/oss-keygen

Download oss-keygen

How to add to project

<!-- https://jarcasting.com/artifacts/cn.home1/oss-keygen/ -->
<dependency>
    <groupId>cn.home1</groupId>
    <artifactId>oss-keygen</artifactId>
    <version>1.0.6.OSS</version>
</dependency>
// https://jarcasting.com/artifacts/cn.home1/oss-keygen/
implementation 'cn.home1:oss-keygen:1.0.6.OSS'
// https://jarcasting.com/artifacts/cn.home1/oss-keygen/
implementation ("cn.home1:oss-keygen:1.0.6.OSS")
'cn.home1:oss-keygen:jar:1.0.6.OSS'
<dependency org="cn.home1" name="oss-keygen" rev="1.0.6.OSS">
  <artifact name="oss-keygen" type="jar" />
</dependency>
@Grapes(
@Grab(group='cn.home1', module='oss-keygen', version='1.0.6.OSS')
)
libraryDependencies += "cn.home1" % "oss-keygen" % "1.0.6.OSS"
[cn.home1/oss-keygen "1.0.6.OSS"]

Dependencies

compile (7)

Group / Artifact Type Version
cn.home1 : oss-lib-common-spring-boot-1.4.1.RELEASE jar
commons-io : commons-io jar
io.jsonwebtoken : jjwt jar
org.bouncycastle : bcprov-jdk15on jar
org.codehaus.mojo : keytool-api jar 1.5
org.springframework.boot : spring-boot-starter jar
org.springframework.boot : spring-boot-starter-log4j2 jar

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar

test (1)

Group / Artifact Type Version
junit : junit jar

Project Modules

There are no modules declared in this project.

oss-keygen

前置条件:需要从oracle官网下载(JCE)Unlimited Strength Jurisdiction Policy Files(两个jar)放入jre的lib/security

构建

mvn clean package

生成AES密钥 (256)

java -jar target/oss-keygen-*-exec.jar -aes 2>/dev/null

生成JWT密钥 (SH512)

java -jar target/oss-keygen-*-exec.jar -jwt 2>/dev/null

生成RSA密钥 (1024)

java -jar target/oss-keygen-*-exec.jar -rsa 2>/dev/null
cn.home1

home1-oss

Versions

Version
1.0.6.OSS