How to Generate SHA-1 Key in Flutter? Last Updated : 19 Mar, 2023 Summarize Comments Improve Suggest changes Share Like Article Like Report SHA-1(Secure Hash Algorithm) is the unique identity of your Application. In Flutter, you can use these keys for various purposes such as adding Firebase to your app, Google Maps API integration, and more. For example, to add Firebase to your app, you need to provide the SHA-1 and SHA-256 keys to the Firebase console during setup. It generates a 160-bit Hash Value. These are the very secure Key values. If you are creating any Professional App then you should not share it with anyone as it may result in hacking of your Application. Note that SHA-1 is considered insecure and should not be used for new applications. SHA-256 is the recommended cryptographic hash function for generating secure digital signatures and message authentication codes Or you may say that SHA-256 is more secure than SHA-1 as SHA-256 generates a 256-bit hash value. There are various ways to generate SHA-1 keys and SHA-256 keys. In the case of Flutter Apps, it is quite difficult as compared to Android. So we will tell you how to generate both of these using a single command only in Flutter Apps. Step by Step Implementation Go to the Command Prompt of your Flutter Project: Step 1: First open your Flutter Project, then go to the terminal which is located at the bottom of your project. Step 2: Next step is to open the terminal and type the command in the terminal cd android. Step 3: Now the most important step is to type the command ./gradlew signingReport For security purposes, we have removed some digits of the SHA-1 key and SHA-256 as it may result in a data breach of the App. Majorly one command is we have to write and SHA-1 and SHA-256 keys on the fingertip. Its main use is that the inputted data is very hard to decode and our app data is encrypted and can be shared where it is needed. For when we have to store the details of our customers on Firebase. Comment More infoAdvertise with us Next Article How to Add Splash Screen in Flutter App? D daksheshgupta4 Follow Improve Article Tags : Flutter Similar Reads Flutter - Generate Strong Random Password In this article, we are going to make an application in Flutter that generates random passwords that cannot be easily cracked by hackers or attackers. Here we define a method named _generatePassword that is responsible for generating random passwords. It uses a mix of lowercase letters, uppercase le 4 min read How to Integrate Razorpay Payment Gateway in Flutter? Razorpay helps process online payments for online as well as offline businesses. Razor pay allows you to accept credit cards, debit cards, net banking, wallet, and UPI payments with the Mobile App integration. It uses a seamless integration, allowing the customer to pay on your app/website without b 5 min read Flutter - Simple PDF Generating App Flutter Community has created several packages to work with PDFs in our apps. In this article, we will be creating a simple PDF-generating app. This application will convert plain text to PDF. The packages that we are going to need are listed below with their uses:pdf: It is a PDF creation library f 9 min read How to Get MAC Address of Device in Flutter? Flutter SDK is an open-source software development kit by Google to develop applications for multiple platforms from a single codebase. Sometimes, your app needs to know the MAC address of the device. MAC (Media Access Control) address is the unique identifier of a device on a LAN network. Approach: 2 min read How to Add Splash Screen in Flutter App? We all have heard of Flutter right, it's a cross-platform application development tool. Flutter can be used to make Android, IOS, and Web applications with just one code base (Dart programming language). In this article let's see how we can add a splash screen to our applications. What is Splash Scr 3 min read Flutter - Make an HTTP GET Request In app development, the ability to fetch data from external sources, such as REST APIs, is a fundamental requirement. In Flutter, Whether you need to fetch data from a RESTful API, access a database, or retrieve content from a web server, Flutter provides you with the tools and packages(HTTP) to do 5 min read Like