Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php final class PassphraseSSHPrivateKeyTextCredentialType extends PassphraseSSHPrivat..

Decoded Output download

<?php

final class PassphraseSSHPrivateKeyTextCredentialType
  extends PassphraseSSHPrivateKeyCredentialType {

  const CREDENTIAL_TYPE = 'ssh-key-text';

  public function getCredentialType() {
    return self::CREDENTIAL_TYPE;
  }

  public function getCredentialTypeName() {
    return pht('SSH Private Key');
  }

  public function getCredentialTypeDescription() {
    return pht('Store the plaintext of an SSH private key.');
  }

  public function getSecretLabel() {
    return pht('Private Key');
  }

  public function shouldShowPasswordField() {
    return true;
  }

  public function getPasswordLabel() {
    return pht('Password for Key');
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PassphraseSSHPrivateKeyTextCredentialType
  extends PassphraseSSHPrivateKeyCredentialType {

  const CREDENTIAL_TYPE = 'ssh-key-text';

  public function getCredentialType() {
    return self::CREDENTIAL_TYPE;
  }

  public function getCredentialTypeName() {
    return pht('SSH Private Key');
  }

  public function getCredentialTypeDescription() {
    return pht('Store the plaintext of an SSH private key.');
  }

  public function getSecretLabel() {
    return pht('Private Key');
  }

  public function shouldShowPasswordField() {
    return true;
  }

  public function getPasswordLabel() {
    return pht('Password for Key');
  }

}

Function Calls

None

Variables

None

Stats

MD5 dc1b32df0b82de7dea5134815f7fc2cd
Eval Count 0
Decode Time 93 ms