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FsIFNpbXVsYXRv cjEfMB0GA1UEAxMWd3d3LmlkZWFsLXNpbXVsYXRvci5ubDEmMCQGCSqGSIb3DQEJ ARYXaW5mb0BpZGVhbC1zaW11bGF0b3IubmyCCQDOat+5LXgWxjAMBgNVHRMEBTAD AQH/MA0GCSqGSIb3DQEBBQUAA4GBABEbQ58FIx6lcRfuoeqqbBfYWLRJGV4fHqZZ TX6VXnI5TqGMF5v5TsVGMPcaiBvgQJPJ8KRhZoHNUgFw1ctjU0I2X3dTP943P+DK ZXaiXxszszzW6cgbJm5cu9hWOl6t5hIqmOaaM/VNZ4sMjAuxvedSx/B8pmYpPEwZ 5zNGnvgm"; $test1 = base64_decode($cert); $test2 = sha1($test1); $test3 = strtoupper($test2); echo $test3;
Output for 4.3.0 - 7.1.0
48FACA262A9F766667F0BF2FED54B8DB16F91087