xdrm-brackets
|
996955b820
|
[client:client] removed unused part in struct T
|
2018-04-22 21:11:58 +02:00 |
xdrm-brackets
|
18c9a9951a
|
[client:client] cleanup
|
2018-04-22 21:10:00 +02:00 |
xdrm-brackets
|
96a9dbe785
|
[lib.scha] made 'Hash()' salt and pepper arguments optional
|
2018-04-22 20:58:37 +02:00 |
xdrm-brackets
|
18dc9c786a
|
[client.keyset] rename 'Hash()' into 'CurrentHash()' [client:client.internal] rename 'update()' into 'updateConfig()'
|
2018-04-22 20:54:16 +02:00 |
xdrm-brackets
|
87a884abdc
|
[client:client] implemented 'Receive(io.Reader)' for reading 'errorCode' then validating migration or rescuing key if failure
|
2018-04-22 19:18:35 +02:00 |
xdrm-brackets
|
8b6d5a12cd
|
[client:client.internal] implemented 'rescue(y1, y2) error' for extracting response data + rescuing key
|
2018-04-22 19:17:55 +02:00 |
xdrm-brackets
|
d759e85735
|
[client.keyset] added 'Rescue()' method to keyset
|
2018-04-22 18:56:58 +02:00 |
xdrm-brackets
|
3b282e397b
|
[client:client] implemented 'Send(io.Writer)' [client:client.internal] implemented 'generateRequest', 'generateKeyWithConstraints', 'migrate'
|
2018-04-22 18:45:30 +02:00 |
xdrm-brackets
|
fdab12841c
|
[lib.timeid] updated 'uint' to 'uint32'
|
2018-04-22 18:44:32 +02:00 |
xdrm-brackets
|
27dcb81e5f
|
[client.keyset] added Getter and Setter 'MigrationCode(<uint8|nil>) uint8' for migration code
|
2018-04-22 18:44:03 +02:00 |
xdrm-brackets
|
8ef698f4c3
|
[client.keyset] replace 'consumed<bool>' by 'mcode<uint8>' for migration code
|
2018-04-22 17:13:34 +02:00 |
xdrm-brackets
|
4521cf1830
|
[client:client.internal] fix, use pointer instead of value for update()
|
2018-04-22 16:02:39 +02:00 |
xdrm-brackets
|
09d514d5b9
|
[client:client] created public signatures 'Send(io.Writer) error' and 'Receive(io.Reader) error'
|
2018-04-22 01:25:17 +02:00 |
xdrm-brackets
|
2454751812
|
[client:client] moved private methods into {client:client.internal}
|
2018-04-22 01:19:42 +02:00 |
xdrm-brackets
|
046fed121a
|
[lib.scha] cleanup
|
2018-04-22 01:16:01 +02:00 |
xdrm-brackets
|
544ee489a4
|
[context] min cleanup
|
2018-04-22 01:05:51 +02:00 |
xdrm-brackets
|
91512adbb2
|
[client.keyset] moved private methods into 'keyset.internal.go'
|
2018-04-22 01:04:07 +02:00 |
xdrm-brackets
|
3246c88e0d
|
[client:client] adapted 'update' to {client:config} + renamed lowercase to privatise
|
2018-04-22 00:59:23 +02:00 |
xdrm-brackets
|
507c29398d
|
[client:config] updated (eased) config management with 'Store(keyset.T)' and 'Fetch(keyset.T)'
|
2018-04-22 00:58:38 +02:00 |
xdrm-brackets
|
9785e8e573
|
[client:client] Created client initialisation with Update() that stores/fetches data using {client:config} system
|
2018-04-21 19:48:26 +02:00 |
xdrm-brackets
|
775eb33435
|
[client:config] config management to get 'io.Reader' and 'io.Writer' + config directory+files management for {client.keyset} to be stored/fetched
|
2018-04-21 19:47:44 +02:00 |
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 |