pure uuid

This is a pure Java library for the generation of DCE 1.1, ISO/IEC 11578:1996 and IETF RFC-4122 compliant Universally Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node based), version 3 (name based, MD5), version 4 (random number based) and version 5 (name based, SHA-1). The library is part of the graphqlio ecosystem.

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.graphqlio
ArtifactId

ArtifactId

pure-uuid-java
Last Version

Last Version

0.0.13
Release Date

Release Date

Type

Type

jar
Description

Description

pure uuid
This is a pure Java library for the generation of DCE 1.1, ISO/IEC 11578:1996 and IETF RFC-4122 compliant Universally Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node based), version 3 (name based, MD5), version 4 (random number based) and version 5 (name based, SHA-1). The library is part of the graphqlio ecosystem.
Project URL

Project URL

http://graphqlio.com
Source Code Management

Source Code Management

https://github.com/msg-systems/pure-uuid-java

Download pure-uuid-java

How to add to project

<!-- https://jarcasting.com/artifacts/com.graphqlio/pure-uuid-java/ -->
<dependency>
    <groupId>com.graphqlio</groupId>
    <artifactId>pure-uuid-java</artifactId>
    <version>0.0.13</version>
</dependency>
// https://jarcasting.com/artifacts/com.graphqlio/pure-uuid-java/
implementation 'com.graphqlio:pure-uuid-java:0.0.13'
// https://jarcasting.com/artifacts/com.graphqlio/pure-uuid-java/
implementation ("com.graphqlio:pure-uuid-java:0.0.13")
'com.graphqlio:pure-uuid-java:jar:0.0.13'
<dependency org="com.graphqlio" name="pure-uuid-java" rev="0.0.13">
  <artifact name="pure-uuid-java" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.graphqlio', module='pure-uuid-java', version='0.0.13')
)
libraryDependencies += "com.graphqlio" % "pure-uuid-java" % "0.0.13"
[com.graphqlio/pure-uuid-java "0.0.13"]

Dependencies

compile (1)

Group / Artifact Type Version
commons-lang : commons-lang jar 2.6

test (2)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.5.2
org.junit.platform : junit-platform-runner jar 1.5.2

Project Modules

There are no modules declared in this project.

About

pure-uuid-java is the Java implementation of the JavaScript pure-uuid reference implementation. The documentation of the reference implementation can be found at [Project Github] (https://github.com/rse/pure-uuid).

Installation

Maven

mvn clean install

Usage

Maven

<dependency>
	<groupId>com.graphqlio</groupId>
	<artifactId>pure-uuid-java</artifactId>
	<version>0.0.9</version>
</dependency>

Gradle

dependencies {
  compile 'com.graphqlio:pure-uuid-java:0.0.9'
}

Sample

Working with UUIDDto

		UUIDDto uuidDto = new UUIDDto();
		uuidDto.setVersion(4);
		uuidDto.setVersionSid(15);
		uuidDto.setData("http://engelschall.com/ns/graphql-query");
		uuidDto.setNs(new long[] {});
		uuidDto.setNsUrl(NsUrl.NS_X500);

Working with UUIDHelper

		long[] uuid = UUIDHelper.generateUUIDLongArray(uuidDto, uuidDto.getVersion());

Working with A2HS

		String uuidFormat = A2HS.format(uuidDto.getTypeFormatNs().getTypeFormat(), uuid);

License

Design and Development by msg Applied Technology Research Copyright (c) 2019-2020 msg systems ag (http://www.msg-systems.com/) All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

com.graphqlio

msg systems ag

Versions

Version
0.0.13
0.0.12
0.0.11
0.0.9
0.0.1