Commit Graph

12 Commits

Author SHA1 Message Date
xdrm-brackets d759e85735 [client.keyset] added 'Rescue()' method to keyset 2018-04-22 18:56:58 +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 91512adbb2 [client.keyset] moved private methods into 'keyset.internal.go' 2018-04-22 01:04:07 +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 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 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