Base64 encode decode equivalent in asp

Discussion in 'C#' started by Kyriakos, Aug 30, 2010.

  1. #1
    Hi,

    I have this code to php
    <?php
    $price = "542.57";
    $myvar = base64_encode($price);
    
    echo $myvar;
    
    echo base64_decode($myvar);
    ?>
    PHP:
    Is anything equivalent in asp?

    thanks in advance
     
    Kyriakos, Aug 30, 2010 IP
  2. DoDo Me

    DoDo Me Peon

    Messages:
    2,257
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #2
    use ChilkatCrypt2
     
    DoDo Me, Sep 20, 2010 IP
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You use the Convert.ToBase64String and Convert.FromBase64String methods
     
    AstarothSolutions, Sep 21, 2010 IP