Honestly, I haven't tried it
Encrypt String Attribute in collection
Votes
0
Replies
24
Participants
Unknown
Messages
25
It should work though
Rank 4: Virtual Machine
String won't be able to index tho, right?
You mean you can't query? If so, that's correct
Rank 4: Virtual Machine
yes.
Rank 4: Virtual Machine
@Steven I'll try and report back
Rank 4: Virtual Machine
@Steven This is what I get
Rank 4: Virtual Machine
Entering any string will result in this error
Rank 4: Virtual Machine
Disabling the encrypt attribute makes it work again
Did you create the attribute as encrypted?
Rank 4: Virtual Machine
Odd...
Rank 4: Virtual Machine
It just says invalid type
Rank 4: Virtual Machine
@Steven Same error when I set required to false or a default value
Can you try with a bigger size? Like 256
Rank 4: Virtual Machine
@Steven it works
Rank 4: Virtual Machine
lmao ur the G mate @Steven
Rank 4: Virtual Machine
And its confirmed that it is encrypted as well
Rank 4: Virtual Machine
Rank 4: Virtual Machine
Value was "hi" and resulted in 125 letters, if I insert a longer value I get the same error
Rank 4: Virtual Machine
Somewhat related: I just did several benchmarks and the performance is pretty much the same for Inserting, Reading and Fetching. Server Architecture: ARM
same between encrypted vs unencrypted?
would you please create an issue so that we make sure we handle the case for smaller strings?
im assuming we don't handle the size correctly so the encrypted data gets truncated and so it doesn't decrypt properly
Rank 4: Virtual Machine