Java String Decode decode(String cipherText)

Here you can find the source of decode(String cipherText)

Description

decode

License

Apache License

Declaration

public static byte[] decode(String cipherText) throws IOException 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import sun.misc.BASE64Decoder;

import java.io.IOException;

public class Main {
    private static final BASE64Decoder DECODER = new BASE64Decoder();

    public static byte[] decode(String cipherText) throws IOException {
        return DECODER.decodeBuffer(cipherText);
    }//from   ww w . ja v  a 2s.c o m
}

Related

  1. decode(String bytes)
  2. decode(String in)
  3. decode(String name)
  4. decode(String s)
  5. decode(String s)