src/Webtrees/Functions/Functions.php
protected static function getBase64EncryptionKey() {	    
	    $key = 'STANDARDKEYIFNOSERVER';
	    if(!empty(Filter::server('SERVER_NAME')) && !empty(Filter::server('SERVER_SOFTWARE')))
	        $key = md5(Filter::server('SERVER_NAME').Filter::server('SERVER_SOFTWARE'));
	    
	    return $key;
	}
protected static function getBase64EncryptionKey() {	    
	    $key = 'STANDARDKEYIFNOSERVER';
	    if(!empty(Filter::server('SERVER_NAME')) && !empty(Filter::server('SERVER_SOFTWARE')))
	        $key = md5(Filter::server('SERVER_NAME').Filter::server('SERVER_SOFTWARE'));
	    
	    return $key;
	}
protected static function getBase64EncryptionKey ( ) { $ key = 'STANDARDKEYIFNOSERVER' ; if ( ! empty ( Filter :: server ( 'SERVER_NAME' ) ) && ! empty ( Filter :: server ( 'SERVER_SOFTWARE' ) ) ) $ key = md5 ( Filter :: server ( 'SERVER_NAME' ) . Filter :: server ( 'SERVER_SOFTWARE' ) ) ; return $ key ; }
Generate the key used by the encryption to safe base64 functions.

@return string Encryption key
Generate the key used by the encryption to safe base64 functions .