crypto: fix fingerprint

Latest logging changes introduced a problem with fingerprint generation.
The last byte wasn't added.
Merge pull request #2035 from bmiklautz/fix/fingerprint

crypto: fix fingerprint