Commit Graph

22 Commits

Author SHA1 Message Date
xdrm-brackets 9a787951b1 [client.keyset] removed 'max' that is now in 'ctx' 2018-04-21 19:46:37 +02:00
xdrm-brackets 69bcb46641 renamed default 'type struct {}' into 'T' because package name is explicit by itself 2018-04-21 18:33:20 +02:00
xdrm-brackets 930c35124f move [lib.context] to [context] 2018-04-21 18:20:35 +02:00
xdrm-brackets aa9b7e7f92 renamed [lib.scha/scha.go] into [lib.scha/hash.go] 2018-04-21 18:18:01 +02:00
xdrm-brackets 4eb7d6de25 [client.keyset] now secret size can be any but when 'Fetch()'-ing, it must be at least longer than the digest size (scha.HSIZE) 2018-04-21 17:39:28 +02:00
xdrm-brackets c9828e9807 [client.keyset] added 'consumption level' in Store/Fetch mecanism 2018-04-21 17:18:49 +02:00
xdrm-brackets d0225993fe [client.keyset] test minmod 2018-04-21 17:06:14 +02:00
xdrm-brackets 2560da5bbc [client.keyset] added test for 'Store()'/'Fetch()' mecanism 2018-04-21 17:04:17 +02:00
xdrm-brackets 703db73f30 [lib.context] added tests 2018-04-21 16:50:57 +02:00
xdrm-brackets 907f16245a [lib.context] updated + cleaned up [client.keyset] added tests + cleaned up 2018-04-21 16:39:24 +02:00
xdrm-brackets 938df1b63c [client.keyset] renamed 'Write(io.Writer)' to 'Store(io.Writer)' and 'Read(io.Reader)' to 'Fetch(io.Reader)' 2018-04-21 16:10:06 +02:00
xdrm-brackets b5c8477582 [lib.context] added 'minDepth' and 'depthThreshold' + [client.keyset] added context management 2018-04-21 16:08:41 +02:00
xdrm-brackets 6d0a99b0d6 [lib.keyset] created basic 'keyset' with {secret, depth, mindepth, maxdepth, consumption} ; METHODS{ 'Create(min,max)', 'Hash', 'Decrement', 'Write(Writer)', 'Read(Reader)' } 2018-04-21 11:58:47 +02:00
xdrm-brackets 1bb7ede29a [lib.context] shared context between 'client' and 'server' ; only contains the timeid window size 2018-04-21 00:03:18 +02:00
xdrm-brackets b23acf97f8 [lib.scha] updated size type (uint16) 2018-04-21 00:02:23 +02:00
xdrm-brackets b48b7c378b [gitignore] added .vscode folder 2018-04-21 00:01:29 +02:00
xdrm-brackets 403e3f8538 renamed [lib.CyclicHash] to [lib.scha] + renamed [lib.wtime] to [lib.timeid] 2018-04-20 15:04:44 +02:00
xdrm-brackets 6b9fdecfb1 [lib.wtime] TimeID management .GuessId() + renamed 'getID' to 'GenerateID' + unit tests for guessing protocol 2018-04-20 13:43:06 +02:00
xdrm-brackets 777137eb6e [lib.wtime] TimeID management .GetID() 2018-04-20 13:08:29 +02:00
xdrm-brackets 064b66660c [lib.CyclicHash] added unit tests + managed errors in multi-value return (returns <hash, err>) 2018-04-20 12:13:10 +02:00
xdrm-brackets 6363cd41aa [bin] renamed in [lib] | [lib.hash] added with tests for cyclic-hashing with xor (algorithm copied from PHP version) 2018-04-19 16:56:20 +02:00
xdrm-brackets 1da9ede808 [bin.xor] created bitwise XOR shorthand for Byte() and ByteArray() 2018-04-19 15:09:15 +02:00