lib/rmega/nodes/expandable.rb in rmega-0.2.6 vs lib/rmega/nodes/expandable.rb in rmega-0.2.7

- old
+ new

@@ -5,10 +5,10 @@ def create_folder(name) node_key = NodeKey.random # encrypt attributes - _attr = serialize_attributes(:n => name.strip) + _attr = serialize_attributes(:n => Utils.utf8(name).strip) _attr = aes_cbc_encrypt(node_key.aes_key, _attr) # Encrypt node key encrypted_key = aes_ecb_encrypt(session.master_key, node_key.aes_key)