This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mcontigo.unycos.utils; | |
import android.animation.Animator; | |
import android.animation.ObjectAnimator; | |
import android.animation.TypeEvaluator; | |
import android.graphics.Color; | |
import android.graphics.drawable.ColorDrawable; | |
import android.graphics.drawable.Drawable; | |
import android.support.annotation.NonNull; | |
import android.support.design.widget.CollapsingToolbarLayout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Conditions Of Use | |
* | |
* This software was developed by employees of the National Institute of | |
* Standards and Technology (NIST), an agency of the Federal Government. | |
* Pursuant to title 15 Untied States Code Section 105, works of NIST | |
* employees are not subject to copyright protection in the United States | |
* and are considered to be in the public domain. As a result, a formal | |
* license is not needed to use the software. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.util.Base64; | |
import java.io.IOException; | |
import java.net.URLEncoder; | |
import java.security.InvalidKeyException; | |
import java.security.KeyFactory; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.PublicKey; | |
import java.security.spec.InvalidKeySpecException; | |
import java.security.spec.X509EncodedKeySpec; | |
import javax.crypto.BadPaddingException; |