Hello I am trying to encode my string using btoa in javascript, following is the example for the same.
LoginPassword.val('chrome');
let password = btoa(String.fromCharCode(LoginPassword.val()));
the output looks like below
AA==
how can I decode the same in C#?