TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nirjana NP
NA
4
7.6k
MessageDigest equivalent to C#?
Apr 21 2017 10:52 AM
What is the equivalent C# code of below Java code?
java.security.MessageDigest d = null;
d = java.security.MessageDigest.getInstance("SHA-1");
d.reset();
d.update(user_password.getBytes());
user_password = new String(d.digest());
user_password=user_password.replaceAll("\ufffd","?");
FYI... this code returns something likd ~£ΕΎ¹_WÁÞQAÐùß9Ã0Ï which I never done in C#.
Thanks in Advance !!!
Reply
Answers (
1
)
fcfs program in c#
how to create The triangle of Pascal in java using Device pa