I am working on a application dealing with customer details , which we want to store in our DB as encrypted , Which one is preferable Argon2
Difference between HSM and Argon2 ? which one is preferrable
251 Views Asked by Muddassir Rahman At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in HSM
- Storing digital certificate in AWS Cloud HSM
- OpenJDK 11 - java.security.NoSuchProviderException:no such provider: nCipherKM
- Using HSM as an external signer with NBitcoin
- How can I make multiple clients connect to multiple slots in SoftHSM by Java code
- Code-Sign an Authenticode PE file using keys in a HSM in Linux
- Sign HLKX package with key stored in HSM
- has anyone undergone certification of PCI-DSS using general purpose HSM (and not payshield)?
- Token number 2 (-d) not recognized. Command Result : 22 (Invalid argument) Fatal: Received unexpected end-of-file from server in Luna HSM
- Thales HSM Import Public Key (EO) error '04'
- How to encrypt a json string as JWE (Json Web Encryption) by using public key stored in HSM?
- Why am I getting an initialization error when using python-pkcs11?
- EV code signing certificate along with cloud HSM
- PKCS11 - Select and Decrypt a Key from HSM
- How to communicate via PKCS#11 with a HSM
- Using M2 command on Thales Payshield 9000 HSM to decrypt a message
Related Questions in ARGON2-FFI
- Argon2i password hash algorithm is not working in php?
- How to enable argon2 support in PHP?
- Reuse password derivated key Argon2
- Next.js 13.4 App Router API Route Issue: User Registration Component Failing with Undefined Request Body and res.status TypeError
- LNK2019 unresolved external symbol when testing Argon2
- How to select record where column is hashed in TypeOrm
- How to Implement Argon2 Hash on OpenLdap?
- Error: Modules not found when using argon2-browser in Ionic-Angular application
- problem in hashing password and compare passwords in c#
- Which hashing algorithm to use for API key?
- Using botan argon2 command line tools
- GLIBC_2.25 not found when tyring using argon2 in nodejs
- Argon2 hash to use for disabled accounts
- Argon2 hasher not releasing memory
- Encoding a password with argon2 and save on PostgreSQL
Related Questions in ARGON
- Laravel Argon sidebar and navbar problem after Firebase Installation
- Dynamically generate argonSidebarItem in shiny
- Argon2 hash key output is over 32 bytes
- React Native: How to inline a toggle switch with a textInput?
- Why the password is not hashed?
- how to make bootstrap 4 table header sticky on top when page scroll
- Class 'Laravel\Ui\UiCommand' not found when install argon dashboard in laravel 8
- Argon2id Hex to Hash
- "Error in ./node_modules/fsevents/fsevents.node" in Vue-CLI project
- Argon2 php vs Java hash_len
- Laravel 7 Argon2 hashing not supported
- Argon design not rendering in laravel. How to extract it from node modules using mix?
- TYPO3 argon2 password hashes matches after server move partly not
- Setting Argon2 algorithm type in Java
- Install argon2 in Docker image (problem with installing gcc)
Related Questions in HARDWARE-SECURITY-MODULE
- HSM ZKA control mask values
- Identrust X Google Cloud HSM X Electron Builder
- Luna SA HSM - Syntax Error: Token number 1 (scp) not recognized. Command Result : 22 (Invalid argument)
- How should I submit (or at least is it possible to submit) my CSR (PKCS#10 file) to a CA that uses an HSM?
- How To Modify PKCS11 Object Value Attribute
- Why does it show “do not have RSA/ECB/PKCS1Padding algorithm” when using PCKS11 Provider with opensc?
- Digital Sign A Excel with Apache Poi by HSM
- OpenSAML Object Signing with HSM based cert and key
- Cannot sign swidtag file with DigiCert Cloud HSM private key
- Is necesary HSM and how create it?
- Is there a way to check the token info in HSM?
- Utimaco HSM integration with spring boot
- signtool: No private key is available (Google cloud HSM)
- Integrate Google HSM and jarsigner to sign jar files
- install4j: Can the HSM module for Windows EV code signing be configured to pick the first available certificate?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Argon2 is a hashing algorithm, it can be used to store password in database, in more or less secure way. See OWASP guide to storing passwords.
HSM is hardware dedicated for key storage - if you have access to HSM, you should use it to store your encryption keys, certificate keys and so on.
While you may use HSM to store a password encrypted with reversible encryption alghorithm (i. e. AES, SALSA), it would perform similar role to password storage software, like KeePass.
If you just need to store password in order to authenticate users, you need to keep salt, and a hash of salted password. Hashing function by definition always gives you the same result for the same data. When user account is created, you generate salt, add it to password, and hash the result. Then you save hash and salt. When user tries to authenticate, add stored salt to password, hash the result, and check if its value is equal to value of hash in your database.
On the other hand, if you are making a password vault of some kind, you need to be able to decrypt stored data. HSM may be useful for that.