import strformat import bitops # For rotation, the following functions can be used: # rotateLeftBits, rotateRightBits from std module #[ SPECK Helper functions * words64ToBytes * bytesToWords64 ]# proc bytesToWords64(bytes: seq[uint8], numbytes: int): seq[uint64] = # counter for the input bytes var j: int = 0 for i in 0..