diff --git a/lib/src/kdbx_object.dart b/lib/src/kdbx_object.dart index 77b1c0b..b7720b9 100644 --- a/lib/src/kdbx_object.dart +++ b/lib/src/kdbx_object.dart @@ -48,7 +48,7 @@ abstract class KdbxObject extends KdbxNode { class KdbxUuid { const KdbxUuid(this.uuid); - KdbxUuid.random() : this(uuidGenerator.v4()); + KdbxUuid.random() : this(base64.encode(uuidGenerator.parse(uuidGenerator.v4()))); static final Uuid uuidGenerator = Uuid(options: { 'grng': UuidUtil.cryptoRNG