Working key generator
This commit is contained in:
parent
47444c97c7
commit
f6f8aee433
|
@ -19,7 +19,7 @@
|
|||
in rec {
|
||||
packages = rec {
|
||||
krb5-keygen = mkCljBin {
|
||||
projectSrc = ./src;
|
||||
projectSrc = ./.;
|
||||
name = "org.fudo.kerberos/keygen";
|
||||
main-ns = "kerberos.keygen.core";
|
||||
jdkRunner = pkgs.jdk17_headless;
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
(ns kerberos.keygen.core
|
||||
(:import (java.util Random)
|
||||
(java.util.zip CRC32))
|
||||
(:require [clojure.string :as str]))
|
||||
(:require [clojure.string :as str])
|
||||
(:gen-class))
|
||||
|
||||
(defn- string->seed [^String str]
|
||||
(let [checksum (CRC32.)]
|
||||
|
|
Loading…
Reference in New Issue