'How to saving salt
maybe, in the signup process,
( I using express.js, MySQL, Sequelize )
- get ID and PW at Front-end
- saving ID in DB
- hashing the pw with salt
- save hashed pw in DB
And,,, can I use salt used before?
when some user log-in this server,
their PW will be hashing and compair with DB data.
but salt is just random..
so I wanna save salt value!
Solution 1:[1]
Try below code and set fixedSize of button.
Refer ElevatedButton here
ElevatedButton(
style: ElevatedButton.styleFrom(
fixedSize: const Size(
200,
50,
),
),
onPressed: () {
print('Button Presssed');
// add your onPressed function here
},
child: const Text(
'Button',
),
),
Solution 2:[2]
You can refactor Elevated Button with Padding like this,
Padding(
padding: const EdgeInsets.symmetric(horizontal: 40.0),
child: ElevatedButton();
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ravindra S. Patil |
| Solution 2 | Yeasin Sheikh |

