How i can input hash text sha256 then create row in baserow

hello kodular
Cryptography component :backhand_index_pointing_left:not working perfectly !
i can’t find a block that contain sha256 hash input text(although the component contain block aes input..)
the only block here is generate 256sha
but after set label to get value of this generated Sha .. the result is text with strange symbols like !?!?!?/.. also this text not able to add in baserow rows

please i don’t want to use extension to solve this problem
If anyone can help me
because i want to encrypt device id using sha256 before sending rows to baserow for better safety :heart:

@Diego :sad_but_relieved_face:maybe kodular need to add this block

Hi dear,

You need these three blocks.

If Baserow has trouble accepting the text, try performing a URI encode using the Web component.

Yes but i mean why i can’t use SHA256

Oh no, sorry I misread :man_facepalming:.

Anyway, SHA-256 isn’t used to encrypt and decrypt text,it’s used to create a hash instead.
I’d recommend checking out some online guides to better understand how it works.

ok because i have used to make sha256 in the ni o tron using the security component easily
but in kodular i didn’t find any block .. i found an extension only

it’s not matter
i can use aes 256 but when i have asked chat gpt .. the result was .. SHA256 can’t be reversible.
aes256 reversible

true, but then it wouldn’t be reversible even for you :grin:
AES is reversible only if you have the key, so you’d send the data to Baserow, but only whoever has the key would be able to decrypt it.

1 Like

OK thank you i think this solution can be helpful but in your opinion AES256 safety good for this type of data (device id) ?

I know 256sha using as unique identifier to apk versions in apk stores like apkpure and Google play

AES-256 is an excellent encryption system, used by many major platforms.

SHA-256 is used to verify the integrity of the APK, ensuring it hasn’t been altered in any way.
In short, Google Play generates a SHA-256 key based on the app, so if the app is different from the original, the SHA key will be different.

1 Like

is there any solution because also i have tried to use AES256 but baserow doesn’t accept the data .. then i set label that contain AES256 to HTML Format(Value=True).. the data accepted in baserow rows .. but when using (is in list thing - list variable-- thing (label that contain AES256 device id) baserow still can’t know if the same AES256 in database..
because my app depend if .. AES256 is in the database —> this user can’t use the same code for login

response current: codes that available to use for new users that never sign up in the app

code check: check if code used by other

dv check: check if device id(after encrypt) if used by other

i have used this extension .. it’s working good but i want to use kodular component

So you’re downloading all the data and checking it directly in the app?

That approach is not recommended.
The presence of any value should always be verified on the database, not on the client side.

Edit
Have you set the correct data type for the column where you’re inserting the text?


(try long text or advanced)

yeah
i have get the values of Baserow columns in variables then check..
i will try using long text as you say