Bug Fixes use 'int.to_bytes' rather than deprecated crypto wrapper (#848) (b79b554) use int.from_bytes (#846) (466aed9)