diff --git a/blowfish.py b/blowfish.py index 9084156..9151ed1 100644 --- a/blowfish.py +++ b/blowfish.py @@ -27,7 +27,7 @@ from struct import Struct, error as struct_error from itertools import cycle as iter_cycle -__version__ = "0.6.0" +__version__ = "0.6.1" # PI_P_ARRAY & PI_S_BOXES are the hexadecimal digits of π (the irrational) # taken from . @@ -330,7 +330,7 @@ def __init__( # Create structs u4_2_struct = Struct("{}2I".format(byte_order_fmt)) - u4_1_struct = Struct("{}I".format(byte_order_fmt)) + u4_1_struct = Struct(">I".format(byte_order_fmt)) u8_1_struct = Struct("{}Q".format(byte_order_fmt)) u1_4_struct = Struct("=4B")