anchor.diff:  
     final encrypter = Encrypter(RSA(publicKey: publicKey));
     Encrypted encryptedPassword = encrypter.encrypt(password);
  -  print(encryptedPassword.base64);
  +  //print(encryptedPassword.base64);
   
  +  Codec<String, String> stringToBase64 = utf8.fuse(base64);
     final String userPassword = email + ':' + encryptedPassword.base64;
  -  Codec<String, String> stringToBase64 = utf8.fuse(base64);
     final String base64EncodedWithEncryptedPassword =
         stringToBase64.encode(userPassword);
  +  //print('encoded user:pass ' + base64EncodedWithEncryptedPassword);
     String ecpIdpPackage;
     String ecpEndpoint;
  +
  +  var cipher = PKCS1Encoding(RSAEngine());
  +  cipher.init(true, pc.PublicKeyParameter<RSAPublicKey>(publicKey));
  +  Uint8List output = cipher.process(utf8.encode(password));
  +  var base64EncodedText = base64Encode(output);
  +  final String res = stringToBase64.encode(email + ':' + base64EncodedText);
  +  print(res);
   
     // Step 1
     // get ECP endpoint URL
     getResponseConsumerUrl('get response consumer URL', ecpTokenUrl, headerValues)
         .then((response) {
       ecpIdpPackage = response; // save for use in request to ECP
  +    print('ecpIdPackage ' + ecpIdpPackage);
       // parse SOAP XML for 'responseConsumerURL' attribute value
       var document = xml.parse(response);
   
  
positive.code: Future<String> getSamlAssertion(String msg, String url,
      Map<String, String> options, String ecpIdpPackage) async {
    print(msg);
    final response = await http.post(url, headers: options, body: ecpIdpPackage);
  
    if (response.statusCode == 200) {
  
negative.code: import 'dart:convert';
  import 'dart:typed_data';
  
  import 'package:encrypt/encrypt.dart';
  import 'package:flutter/material.dart';
  import 'package:flutter/services.dart' show rootBundle;
  import 'package:http/http.dart' as http;
  import 'package:pointycastle/api.dart' as pc;
  import 'package:pointycastle/asymmetric/api.dart';
  import 'package:pointycastle/asymmetric/pkcs1.dart';
  import 'package:pointycastle/asymmetric/rsa.dart';
  import 'package:xml/xml.dart' as xml;
  
  // QA Environment
  