twofactor/vendor/github.com/sec51/convert
silenteh 72a472700b Addressed issue #1 - Byte order was the problem
The counter needs to be represented in bigendian format.
Unfortunately with commit #00045cb I made the unfortunate choice to swap the endiannes from big-endian to little-endian.
This broke the functionality for certain counters.

- [x] Added Go vendoring
- [x] Bumped version of golang in travis yml file
- [x] Removed conversion files and instead used import of convert sec51 external library
2016-04-24 22:24:31 +02:00
..
bigendian Addressed issue #1 - Byte order was the problem 2016-04-24 22:24:31 +02:00
smallendian Addressed issue #1 - Byte order was the problem 2016-04-24 22:24:31 +02:00
.travis.yml Addressed issue #1 - Byte order was the problem 2016-04-24 22:24:31 +02:00
common.go Addressed issue #1 - Byte order was the problem 2016-04-24 22:24:31 +02:00
doc.go Addressed issue #1 - Byte order was the problem 2016-04-24 22:24:31 +02:00
README.md Addressed issue #1 - Byte order was the problem 2016-04-24 22:24:31 +02:00

Build status

Build Status GoDoc

Golang conversion library

This library converts, at the moment ints to big endian bytes It is used in both twofactor and cryptoengine libraries