Skip to content

Instantly share code, notes, and snippets.

View Moosemorals's full-sized avatar

Osric Wilkinson Moosemorals

View GitHub Profile
@Moosemorals
Moosemorals / SUID.java
Last active August 29, 2015 14:26 — forked from formix/SUID.java
64 bits Sufficiently Unique Id Generator
/****************************************************************************
* Copyright 2009-2015 Jean-Philippe Gravel, P. Eng. CSDP
*
* Modified 6/8/15 - Osric Wilkinson - No point messing with random seeds.
* Just use SecureRandom.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*