Re: [go-nuts] geocrypt package

2019-10-11 Thread Robert Engels
Cool stuff!

> On Oct 11, 2019, at 4:22 PM, Dan Kortschak  wrote:
> 
> Over 10 years ago Gustavo Niemeyer invented the geohash geographic
> hashing system https://en.wikipedia.org/wiki/Geohash for clearly and
> concisely representing geographic locations at arbitrary precision.
> 
> Now, here is geocrypt, a package that returns or checks a cryptographic
> hash of a geolocation. The hash is calculated using bcrypt in such a
> way that hashing an angular area is approximately time-constant
> irrespective of the geohash precision that the location is given.
> 
> The intention is for use in confirming locations of items whose
> location should not be published, but which must be identifiable by
> some participant. Examples of use are digital geocaching competitions,
> lowish value eco-conservation sites* etc.
> 
> For locations at the equator (fastest case), hashing takes about 2-3
> seconds per square meter of precision on my hardware. Interaction
> between geocrypt and standard conservation location fuzzing techniques
> means that they should probably not used together. As in all cases with
> cryptographic protocols, you should assess your threat model, and don't
> use packages you find on the internet.
> 
> https://godoc.org/github.com/kortschak/geocrypt
> 
> * high value conservation sites should not be published
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/181e535f6ab8c1ed2a36913132fe212aeaff03da.camel%40kortschak.io.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/4DE85A6D-16FF-45B2-AD77-DDE17744851C%40ix.netcom.com.


[go-nuts] geocrypt package

2019-10-11 Thread Dan Kortschak
Over 10 years ago Gustavo Niemeyer invented the geohash geographic
hashing system https://en.wikipedia.org/wiki/Geohash for clearly and
concisely representing geographic locations at arbitrary precision.

Now, here is geocrypt, a package that returns or checks a cryptographic
hash of a geolocation. The hash is calculated using bcrypt in such a
way that hashing an angular area is approximately time-constant
irrespective of the geohash precision that the location is given.

The intention is for use in confirming locations of items whose
location should not be published, but which must be identifiable by
some participant. Examples of use are digital geocaching competitions,
lowish value eco-conservation sites* etc.

For locations at the equator (fastest case), hashing takes about 2-3
seconds per square meter of precision on my hardware. Interaction
between geocrypt and standard conservation location fuzzing techniques
means that they should probably not used together. As in all cases with
cryptographic protocols, you should assess your threat model, and don't
use packages you find on the internet.

https://godoc.org/github.com/kortschak/geocrypt

* high value conservation sites should not be published

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/181e535f6ab8c1ed2a36913132fe212aeaff03da.camel%40kortschak.io.