-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29.03.2016 22:14, Herwig Hochleitner wrote: > Great! > > Has the hashing scheme changed from the -alpha?
I think so, but I am not entirely sure. I think it is stable since beta3, except for changed record serializations. > I'm currently using hasch to generate the signature checksum in my > auth tokens so for my use case, hashing - scheme stability isn't > important, but it's great to have it finalized anyway. Hopefully I have not done a stupid mistake somewhere, but it works for complex custom types like datascript between cljs and clj atm. > > BTW, I've written a content-hashed file store: > https://github.com/webnf/webnf/tree/master/filestore Do you think, > it would make sense to somehow harmonize those blob hashes with, > e.g. byte array hashes in hasch? I think so. hasch on the JVM supports files (java.io.File) directly, so you don't have to pull everything in memory. Btw. I implemented a CAS with hashes for a git-like datatype as well with konserve (1) and replikativ (2). I would be interested to extend the store to a binary block-level store (e.g. 512 KiB blocks) a la BitTorrent. I would then replicate the hashed block contents between peers similar to distributed systems like ipfs. One difference is that contents are hashed by their (edn) value and not their binary serialization. Christian (1) https://github.com/replikativ/konserve (2) https://github.com/replikativ/replikativ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJW+8BnAAoJEKel+aujRZMkBBMIAIj1M8IyHWfNreXaSb23vUGN U17kePazQh54ataVaLMpuYokACTzgqoRFACGq1hQp8d5so1mlvriRytVmmXdMrMJ vm/qUOWUm4aaiUBe7dWwk08va9R8tmIKijwRiy3xCT8kYVjEXUHZpe7LQJjthQRL /a/hz8lvUSaaAUTQGhpSvcdZoHbXGDqVpk2hWFomyrXjJhYEZDZom/V3mMHFEYcn BXeKWpJQCGe6F46nJhyV2+HfoRA7ZVHlVb2p4URoziYpnYCrnlhlDHdLaQKYWLi7 z8yuwIcLJUwfiDLWTEgc9fSWxS3Z9P9x7WM+885QLPgHY6UNQr6k5tj+bwRA6rA= =Cew1 -----END PGP SIGNATURE----- -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/clojurescript.
