private static function save($card) {
    $card = self::hash($card);

    /* TODO: Encrypt before saving. */
    if(Core::$store->write('otp-card', $card['id'], $card)) {
      return $card;
    }
    return false;
  }
private static function save($card) {
    $card = self::hash($card);

    /* TODO: Encrypt before saving. */
    if(Core::$store->write('otp-card', $card['id'], $card)) {
      return $card;
    }
    return false;
  }
private static function save ( $ card ) { $ card = self :: hash ( $ card ) ; /* TODO: Encrypt before saving. */ if ( Core :: $ store -> write ( 'otp-card' , $ card [ 'id' ] , $ card ) ) { return $ card ; } return false ; }
Save a password card.

@param array $card
Array containing a already hashed card.

@return mixed
Returns card arryar on success and false on error.
Save a password card .