Questions tagged as 'criptografia'

1
answer

Why can not I have the password hash in my seed method?

I'm trying to use my method seed below to create a user in the database when it's created: protected override void Seed(CodingCraftMod1Ex4AuthMembershipContext context) { string password = PasswordsHelper.EncodePassword("123456", Sy...
asked by 30.12.2018 / 01:08
1
answer

How to do script access control with JekyllCMS

I'm using JekyllCMS to develop a Content Management System (CMS), but as I do not know it very well and even after reading the documentation, I find it hard to "hide" some of the data I use in JavaScript . There are two cases:% of the Graph...
asked by 11.03.2014 / 07:53
0
answers

ECDH between C # and javascript

I'm creating a web API and I need to implement ECDH for end-to-end encryption. On the server side I have a C # application and the client side a javascript application. I can change the keys, generate the private keys and encrypt a message, b...
asked by 03.09.2018 / 18:43
2
answers

Python code using HMAC library

I'm doing a job on encryption for college using HMAC along with SHA256, and I would like to understand what this code does on each line, I'm a bit confused. #!/usr/bin/env python3 import hashlib import hmac from math import ceil hash_len = 32...
asked by 10.06.2018 / 18:02
1
answer

Encrypt in UWP and Decrypt in Web API

I'm trying to encrypt a string in a Universal Windows Platform (UWP) application and decrypt the string in a Web application API. The problem is that I can not find / modify an algorithm common to both platforms. I currently use the code b...
asked by 27.12.2017 / 14:04
1
answer

How to encrypt in the Java Web project

Can anyone pass me some material with the safest way to do system security? I want to put this in the user registry in my JSF project with Primefaces 5.1 for when it is registered to save the password already encrypted in the database.     
asked by 07.07.2017 / 15:17
1
answer

Difficulty in implementing password encryption with Spring Boot

By title you can realize that it is a Spring Boot project, and being a Spring Boot project many things are already configured by FrameWorks, but I do not know about the implementation of password encryption, in Spring MVC you have to configure s...
asked by 04.07.2017 / 14:56
0
answers

How does data encryption work in Firebase?

I'm developing an Android messaging application using Firebase and I realized that it will be necessary to protect user data and the messages exchanged by them, because at the moment it is possible to see everything through the Firebase console...
asked by 13.09.2017 / 15:57
1
answer

How to validate a signature with a private key?

I get an HTTP request that comes in the HEADER a signature (SHA1). I have, stored in a String, a private key. I need to generate the signature between the BODY of the HTTP request and my key and compare it with the signature that comes in the HE...
asked by 13.11.2015 / 14:44
1
answer

How to safely encrypt and decrypt data in PHP? [closed]

I need to write sensitive data in the database, but can be read later (decrypt).     
asked by 26.10.2015 / 18:29